<script>
import { useAppStoreHook } from "@/store/modules/app";

export default {
  onLaunch: async function () {
    const appStore = useAppStoreHook();
    await appStore.fetchVisaTypeList();
    await appStore.fetchBannerList();
    console.log("App Launch");
  },
  onShow: async function () {
    console.log("App Show");
  },
  onHide: function () {
    console.log("App Hide");
  },
};
</script>

<style lang="scss">
/*每个页面公共css */
// @import "uview-plus/index.scss";
@import "@/uni_modules/uview-plus/index.scss";
@import "common/demo.scss";

page {
  font-size: 28rpx;
}
/*状态栏占位*/
.seat {
  width: 100%;
  height: var(--status-bar-height);
  // z-index: 1000;
}

.seat-fixed {
  width: 100%;
  height: var(--status-bar-height);
  position: relative;
  // background-color: #FFFFFF;
}
</style>
